< previous page page_217 next page >

Page 217
TABLE 8.1. DATA ELEMENTS THAT CAN BE INCLUDED IN THE APPLICATION DATABASE.
NameType
First NameString
Last NameString
Spouse NameString
Child NameString
AddressString
CityString
StateString
ZIPInteger
E-mail AddressString
PhoneLong
Birth DateDate
NotesString

This list is pretty straightforward, but look more closely at it. It has elements such as phone number and birth date. Can't person have more than one phone number? Or, if you're allowing users to enter the names of the person's spouse and children, you could have more than one birth date to enter. When the tables for this database are created, you'll need to design the capability to handle multiple copies of these types of elements. How do you want users to see the information? This section of the application will require the following forms:
Book Entry form
Detailed Entry display
Although only two forms are involved with the data entry and display, each form performs quite a bit of processing. The first form gives users an easy way of entering information. Depending on how fancy you want to get, you could create a form that uses many of the more advanced Visual Basic controls. Figure 8.2 shows an example of this entry form. Notice that this form allows users to select from a list of phone number types to enter a number in. A similar approach is used for entering child and spouse information.

 
< previous page page_217 next page >

If you like this book, buy it!